package wuxianshua.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import wuxianshua.dao.UserMapper;
import wuxianshua.pojo.User;

/**
 * Description:
 * Datetime:    2021/2/20   19:56
 * Author:   jianglei
 */
@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public User getUSerById(String id){
        return userMapper.selectByPrimaryKey(Integer.valueOf(id));
    }

}